package cn.yunhe.dplayerdemo3.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo implements Serializable {

    @TableId(value = "uid")
    private int uid;
    private String email;
    private String signature;
    private String pic;
    private int coin;

    public UserInfo(int uid) {
        this.uid = uid;
    }
}
